package com.easyaccount.dao;

import com.easyaccount.model.Daily;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DailyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Daily record);

    int insertSelective(Daily record);

    int insertBacth(@Param("dailyList") List<Daily> dailyList);

    Daily selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Daily record);

    int updateByPrimaryKey(Daily record);

    List<Daily> selectByBillId(Integer billId);
}